package com.youthHostel.dao;

import java.util.List;

import com.youthHostel.pojo.role;

public interface RoleDao {
	List<role> findAll();
	
	List<role> findByName(String name);

	int deleteByPrimaryKey(Integer ro_id);

	int insert(role record);

	role selectByPrimaryKey(Integer ro_id);

	int updateByPrimaryKey(role record);
	
	List<role> selectAll();

}
